﻿<xsl:stylesheet version="1.0"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns:srwrt="http://schemas.microsoft.com/WebParts/v3/searchresults/runtime"
                xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime"
                xmlns:msxsl="urn:schemas-microsoft-com:xslt">
  <xsl:output method="xml" indent="no"/>
  <xsl:param name="Keyword" />
  <xsl:param name="ResultsBy" />
  <xsl:param name="ViewByUrl" />
  <xsl:param name="ShowDropDown" />
  <xsl:param name="ViewByValue" />
  <xsl:param name="SortBy" />
  <xsl:param name="SortOptions" />
  <xsl:param name="Relevancy" />
  <xsl:param name="ModifiedDate" />
  <xsl:param name="DropDownOption" />
  <xsl:param name="Multiply" />
  <xsl:param name="PictureTaken" />
  <xsl:param name="IsNoKeyword" />
  <xsl:param name="IsFixedQuery" />
  <xsl:param name="ShowActionLinks" />
  <xsl:param name="MoreResultsText" />
  <xsl:param name="MoreResultsLink" />
  <xsl:param name="CollapsingStatusLink" />
  <xsl:param name="CollapseDuplicatesText" />
  <xsl:param name="AlertMeLink" />
  <xsl:param name="AlertMeText" />
  <xsl:param name="SrchRSSText" />
  <xsl:param name="SrchRSSLink" />
  <xsl:param name="SearchProviderText" />
  <xsl:param name="SearchProviderLink" />
  <xsl:param name="SearchProviderAlt"/>
  <xsl:param name="ShowMessage" />
  <xsl:param name="IsThisListScope" />
  <xsl:param name="DisplayDiscoveredDefinition" select="True" />
  <xsl:param name="NoFixedQuery" />
  <xsl:param name="NoKeyword" />
  <xsl:param name="ResultsNotFound" />
  <xsl:param name="NoResultsSuggestion" />
  <xsl:param name="NoResultsSuggestion1" />
  <xsl:param name="NoResultsSuggestion2" />
  <xsl:param name="NoResultsSuggestion3" />
  <xsl:param name="NoResultsSuggestion4" />
  <xsl:param name="NoResultsSuggestion5" />
  <xsl:param name="AdditionalResources" />
  <xsl:param name="AdditionalResources1" />
  <xsl:param name="AdditionalResources2" />
  <xsl:param name="IsSearchServer" />
  <xsl:param name="Period" />
  <xsl:param name="SearchHelp" />
  <xsl:param name="Tags" />
  <xsl:param name="Authors" />
  <xsl:param name="Date" />
  <xsl:param name="Size" />
  <xsl:param name="ViewInBrowser" />
  <xsl:param name="DefinitionIntro" />
  <xsl:param name="IdPrefix" />
  <xsl:param name="LangPickerHeading" />
  <xsl:param name="LangPickerNodeSet" />
  <xsl:param name="IsDesignMode">True</xsl:param>

  <!-- When there is keywory to issue the search -->
  <xsl:template name="dvt_1.noKeyword">
    <span class="srch-description2">
      <xsl:choose>
        <xsl:when test="$IsFixedQuery">
          <xsl:value-of select="$NoFixedQuery" />
        </xsl:when>
        <xsl:otherwise>
          <xsl:value-of select="$NoKeyword" />
        </xsl:otherwise>
      </xsl:choose>
    </span>
  </xsl:template>


  <!-- When empty result set is returned from search -->
  <xsl:template name="dvt_1.empty">
    <div class="srch-results">
      <xsl:if test="$AlertMeLink and $ShowActionLinks">
        <span class="srch-alertme" >
          <a href ="{$AlertMeLink}" id="CSR_AM1" title="{$AlertMeText}">
            <img style="vertical-align: middle;" src="/_layouts/images/bell.gif" alt="" border="0"/>
            <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>
            <xsl:value-of select="$AlertMeText" />
          </a>
        </span>
      </xsl:if>

      <xsl:if test="string-length($SrchRSSLink) &gt; 0 and $ShowActionLinks">
        <xsl:if test="$AlertMeLink">
          |
        </xsl:if>
        <a type="application/rss+xml" href ="{$SrchRSSLink}" title="{$SrchRSSText}" id="SRCHRSSL">
          <img style="vertical-align: middle;" border="0" src="/_layouts/images/rss.gif" alt=""/>
          <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>
          <xsl:value-of select="$SrchRSSText"/>
        </a>
        <xsl:if test="string-length($SearchProviderLink) &gt; 0">
          |
          <a href ="{$SearchProviderLink}" title="{$SearchProviderText}" >
            <img style="vertical-align: middle;" border="0" src="/_layouts/images/searchfolder.png" alt=""/>
            <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>
            <xsl:value-of select="$SearchProviderText"/>
          </a>
        </xsl:if>
      </xsl:if>
    </div>

    <div class="srch-results" accesskey="W">
      <span class="srch-description2" id="CSR_NO_RESULTS">
        <p>
          <xsl:value-of select="$ResultsNotFound" />
          <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>
          <strong>
            <xsl:value-of select="$Keyword" />
          </strong>
          <xsl:value-of select="$Period" />
        </p>
        <h3>
          <xsl:value-of select="$NoResultsSuggestion" />
        </h3>
        <ul>
          <li>
            <xsl:value-of select="$NoResultsSuggestion1" />
          </li>
          <li>
            <xsl:value-of select="$NoResultsSuggestion2" />
          </li>
          <li>
            <xsl:value-of select="$NoResultsSuggestion3" />
          </li>
          <xsl:if test="string-length($NoResultsSuggestion4) &gt; 0">
            <li>
              <xsl:value-of select="$NoResultsSuggestion4" />
            </li>
          </xsl:if>
          <xsl:if test="string-length($NoResultsSuggestion5) &gt; 0">
            <li>
              <xsl:value-of select="$NoResultsSuggestion5" />
            </li>
          </xsl:if>
        </ul>
        <h3>
          <xsl:value-of select="$AdditionalResources" />
        </h3>
        <ul>
          <li>
            <xsl:value-of select="$AdditionalResources1" />
            <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>
            <xsl:choose>
              <xsl:when test="string-length($IsSearchServer) &gt; 0">
                <a href="javascript:HelpWindowKey('MSSEndUser_FindContent')" label="$SearchHelp">
                  <xsl:value-of select="$SearchHelp" />
                </a>
              </xsl:when>
              <xsl:otherwise>
                <a href="javascript:HelpWindowKey('WSSEndUser_FindContent')" label="$SearchHelp">
                  <xsl:value-of select="$SearchHelp" />
                </a>
              </xsl:otherwise>
            </xsl:choose>
          </li>
          <li>
            <xsl:value-of select="$AdditionalResources2" />
          </li>
        </ul>



      </span>
    </div>
  </xsl:template>

  <!-- Main body template. Sets the Results view (Relevance or date) options -->
  <xsl:template name="dvt_1.body">
    <xsl:if test="$ShowActionLinks">
      <div class="srch-sort-right2" accesskey="W">
        <xsl:if test="$LangPickerNodeSet and count($LangPickerNodeSet) &gt; 0">
          <xsl:value-of select="$LangPickerHeading"/>
          <select class="srch-dropdown" onchange="window.location.href=this.value" id="langpickerdd">
            <xsl:for-each select="$LangPickerNodeSet">
              <xsl:element name="option">
                <xsl:attribute name="value">
                  <xsl:value-of select="@url"/>
                </xsl:attribute>
                <xsl:if test="@selected = 'true'">
                  <xsl:attribute name="selected">selected</xsl:attribute>
                </xsl:if>
                <xsl:value-of select="@title"/>
              </xsl:element>
            </xsl:for-each>
          </select>
          <xsl:text disable-output-escaping="yes">&#8195;</xsl:text>
        </xsl:if>
        <xsl:if test="$ShowDropDown = 'true'">
          <xsl:value-of select="$SortBy" />
          <select id="dropdown" title="{$SortOptions}" onchange="PostToUrl(this.value)" class="srch-dropdown">
            <xsl:if test="$DropDownOption = '0' or $ViewByUrl != ''">
              <xsl:element name="option">
                <xsl:attribute name="value">
                  <xsl:value-of select="$ViewByUrl"/>
                </xsl:attribute>
                <xsl:if test="$DropDownOption = '0'">
                  <xsl:attribute
name="selected">selected</xsl:attribute>
                </xsl:if>
                <xsl:value-of select="$Relevancy"/>
              </xsl:element>
            </xsl:if>
            <xsl:if test="$DropDownOption = '1' or $ViewByUrl != ''">
              <xsl:element name="option">
                <xsl:attribute name="value">
                  <xsl:value-of select="$ViewByUrl"/>
                </xsl:attribute>
                <xsl:if test="$DropDownOption = '1'">
                  <xsl:attribute
name="selected">selected</xsl:attribute>
                </xsl:if>
                <xsl:value-of select="$ModifiedDate"/>
              </xsl:element>
            </xsl:if>
          </select>
        </xsl:if>
        <xsl:if test="$AlertMeLink">
          <xsl:if test="$ShowDropDown = 'true'">
          </xsl:if>
          <span class="srch-alertme" >
            <a href ="{$AlertMeLink}" id="CSR_AM2" title="{$AlertMeText}">
              <img style="vertical-align: middle;" src="/_layouts/images/bell.gif" alt="" border="0"/>
            </a>
            <xsl:text disable-output-escaping="yes">&#8195;</xsl:text>
          </span>
        </xsl:if>
        <xsl:if test="string-length($SrchRSSLink) &gt; 0">

          <a type="application/rss+xml" href ="{$SrchRSSLink}" title="{$SrchRSSText}" id="SRCHRSSL">
            <img style="vertical-align: middle;" border="0" src="/_layouts/images/rss.gif" alt=""/>
          </a>
          <xsl:text disable-output-escaping="yes">&#8195;</xsl:text>
        </xsl:if>
        <xsl:if test="string-length($SearchProviderLink) &gt; 0">
          <a href ="{$SearchProviderLink}" title="{$SearchProviderAlt}" >
            <img style="vertical-align: middle;" border="0" src="/_layouts/images/searchfolder.png" alt=""/>
          </a>
        </xsl:if>
      </div>
    </xsl:if>
    <div class="srch-results" accesskey="W">
      <xsl:apply-templates />
    </div>
    <xsl:call-template name="DisplayMoreResultsAnchor" />
  </xsl:template>
  <!-- This template is called for each result -->
  <xsl:template match="TotalResults">
  </xsl:template>
  <xsl:template match="NumberOfResults">
  </xsl:template>


  <xsl:template match="Result">
    <xsl:variable name="id" select="id"/>
    <xsl:variable name="currentId" select="concat($IdPrefix,$id)"/>
    <xsl:variable name="url" select="url"/>

    <xsl:variable name="otauthoralias">
      <xsl:value-of select="OTAuthorAlias"/>
    </xsl:variable>
    <!--<xsl:variable name="otauthoraliasaa" select="otauthoralias"/>-->
    <xsl:variable name="otmessagedate">
      <xsl:value-of select="OTMessageDate"/>
    </xsl:variable>
    <xsl:variable name="otmessagedateaa" select="otmessagedate"/>

    <div style="background-color: #332b22;">
      <img src="Pictures/msw_logo_searchcenter.png" alt="msw" style="margin-left: 120px;
            border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px;" />
    </div>
    <div class="srch-sb-results">
      <table>
        <tr>
          <td class="ms-sctabcn">
            Intranet
          </td>
          <td class="ms-sctabcf" >
            <a title="Click for people results" href="">People</a>
          </td>
          <td class="ms-sctabcf" >
            <a title="Click for video results" href="">Video</a>
          </td>
          <td class="ms-sctabcf" >
            <a title="Click for results from sales, marketing & services " href="">InfoPedia</a>
          </td>
        </tr>
      </table>
    </div>
    <table>
      <tr>
        <td class="srchctr_leftcell">
          <div class="srch-WPBody ms-searchref-main">
            <div class="ms-searchref-categoryname">
              Result Type
            </div>
            <ul class="ms-searchref-filters">
              <li class="ms-searchref-filter ms-searchref-selected">
                <a title="Refine By: Any Result Type"
                            class="ms-searchref-filterlink" href="">Any Result Type</a>
              </li>
              <li class="ms-searchref-filter ms-searchref-unselected">
                <a title="Refine By: Web Page"
                            class="ms-searchref-filterlink" href="">Web Page</a>
                <span class="ms-searchref-count">
                  (1)
                </span>
              </li>
            </ul>
          </div>
        </td>
        <td>
          <div style="border: 3px solid #DCDCDC;">
            <table>
              <tr>
                <td>
                  <div>
                    <img alt="" src="Pictures/NTDEV_kirillt_MThumb.jpg" class="srch-Picture" />
                  </div>
                </td>
                <td style="vertical-align: top;">
                  <span class="srch-BBTitle">
                    <a href="">MSCom: Microsoft Worldwide</a>
                  </span>
                  <div class="srch-BB-Description2">
                    Find information about Microsoft's rich and vibrant culture, and the history of
                    the company that is unique in American business.
                  </div>
                  <div class="srch-BB-URL3">
                    <span class="srch-BB-URL2">http://www.microsoft.com/worldwide/default.aspx</span>
                  </div>
                </td>
              </tr>
            </table>
          </div>
          <div>
            <table>
              <tr>
                <td>
                  <div>
                    <a target="_blank">
                      <img alt="" src="Pictures/NTDEV_kirillt_MThumb.jpg" class="srch-Picture" />
                    </a>
                  </div>
                </td>
                <td style="vertical-align: top;">
                  <span class="srch-BBTitle">
                    <a href="">MSCom: Microsoft Worldwide</a>
                  </span>
                  <div class="srch-BB-Description2">
                    Find information about Microsoft's rich and vibrant culture, and the history of
                    the company that is unique in American business.
                  </div>
                  <div class="srch-BB-URL3">
                    <span class="srch-BB-URL2">http://www.microsoft.com/worldwide/default.aspx</span>
                  </div>
                </td>
              </tr>
            </table>
          </div>
          <div>
            <table>
              <tr>
                <td>
                  <div>
                    <img alt="" src="Pictures/NTDEV_kirillt_MThumb.jpg" class="srch-Picture" />
                  </div>
                </td>
                <td style="vertical-align: top;">
                  <span class="srch-BBTitle">
                    <a href="">MSCom: Microsoft Worldwide</a>
                  </span>
                  <div class="srch-BB-Description2">
                    Find information about Microsoft's rich and vibrant culture, and the history of
                    the company that is unique in American business.
                  </div>
                  <div class="srch-BB-URL3">
                    <span class="srch-BB-URL2">http://www.microsoft.com/worldwide/default.aspx</span>
                  </div>
                </td>
              </tr>
            </table>
          </div>
          <div>
            <table>
              <tr>
                <td>
                  <div>
                    <img alt="" src="Pictures/NTDEV_kirillt_MThumb.jpg" class="srch-Picture" />
                  </div>
                </td>
                <td style="vertical-align: top;">
                  <span class="srch-BBTitle">
                    <a href="">MSCom: Microsoft Worldwide</a>
                  </span>
                  <div class="srch-BB-Description2">
                    Find information about Microsoft's rich and vibrant culture, and the history of
                    the company that is unique in American business.
                  </div>
                  <div class="srch-BB-URL3">
                    <span class="srch-BB-URL2">http://www.microsoft.com/worldwide/default.aspx</span>
                  </div>
                </td>
              </tr>
            </table>
          </div>
        </td>
      </tr>
    </table>
  </xsl:template>



  <xsl:template name="HitHighlighting">
    <xsl:param name="hh" />
    <xsl:apply-templates select="$hh"/>
  </xsl:template>

  <xsl:template match="ddd">
    &#8230;
  </xsl:template>
  <xsl:template match="c0">
    <strong>
      <xsl:value-of select="."/>
    </strong>
  </xsl:template>
  <xsl:template match="c1">
    <strong>
      <xsl:value-of select="."/>
    </strong>
  </xsl:template>
  <xsl:template match="c2">
    <strong>
      <xsl:value-of select="."/>
    </strong>
  </xsl:template>
  <xsl:template match="c3">
    <strong>
      <xsl:value-of select="."/>
    </strong>
  </xsl:template>
  <xsl:template match="c4">
    <strong>
      <xsl:value-of select="."/>
    </strong>
  </xsl:template>
  <xsl:template match="c5">
    <strong>
      <xsl:value-of select="."/>
    </strong>
  </xsl:template>
  <xsl:template match="c6">
    <strong>
      <xsl:value-of select="."/>
    </strong>
  </xsl:template>
  <xsl:template match="c7">
    <strong>
      <xsl:value-of select="."/>
    </strong>
  </xsl:template>
  <xsl:template match="c8">
    <strong>
      <xsl:value-of select="."/>
    </strong>
  </xsl:template>
  <xsl:template match="c9">
    <strong>
      <xsl:value-of select="."/>
    </strong>
  </xsl:template>

  <xsl:template name="DisplayAuthors">
    <xsl:param name="author" />
    <xsl:if test="string-length($author) &gt; 0">
      <xsl:value-of select="$Authors" />
      <xsl:choose>
        <xsl:when test="string-length(author_multival) &gt; 0">
          <xsl:for-each select="author_multival">
            <xsl:variable name="p" select="position()"/>
            <xsl:if test="$p &gt; 1">
              <xsl:text disable-output-escaping="yes">&#44;</xsl:text>
              <xsl:text disable-output-escaping="yes">&#32;</xsl:text>
            </xsl:if>
            <xsl:value-of select="."/>
          </xsl:for-each>
        </xsl:when>
        <xsl:otherwise>
          <xsl:value-of select="author"/>
        </xsl:otherwise>
      </xsl:choose>
    </xsl:if>
  </xsl:template>

  <xsl:template name="DisplayDate">
    <xsl:param name="write" />
    <xsl:if test="string-length($write) &gt; 0">
      <xsl:if test="string-length(author) &gt; 0">
        <xsl:text disable-output-escaping="yes">&#8195;</xsl:text>
      </xsl:if>
      <xsl:value-of select="$Date" />
      <xsl:value-of select="write"/>
    </xsl:if>
  </xsl:template>


  <!-- The size attribute for each result is prepared here -->
  <xsl:template name="DisplaySize">
    <xsl:param name="size" />
    <xsl:if test="string-length($size) &gt; 0">
      <xsl:if test="number($size) &gt; 0">
        <xsl:if test="string-length(write) &gt; 0 or string-length(author) &gt; 0">
          <xsl:text disable-output-escaping="yes">&#8195;</xsl:text>
        </xsl:if>
        <xsl:value-of select="$Size" />
        <xsl:choose>
          <xsl:when test="round($size div 1024) &lt; 1">
            <xsl:value-of select="$size" /> Bytes
          </xsl:when>
          <xsl:when test="round($size div (1024 *1024)) &lt; 1">
            <xsl:value-of select="round($size div 1024)" />KB
          </xsl:when>
          <xsl:otherwise>
            <xsl:value-of select="round($size div (1024 * 1024))"/>MB
          </xsl:otherwise>
        </xsl:choose>
      </xsl:if>
    </xsl:if>
  </xsl:template>

  <xsl:template name="ViewInBrowser">
    <xsl:param name="browserlink" />
    <xsl:param name="currentId" />
    <xsl:if test="string-length($browserlink) &gt; 0">
      <span class="srch-urllink">
        <a href="{$browserlink}" id="{concat($currentId,'_VBlink')}">
          <xsl:value-of select="$ViewInBrowser" />
        </a>
      </span>
    </xsl:if>
  </xsl:template>

  <!-- A generic template to display string with non 0 string length (used for author and lastmodified time -->
  <xsl:template name="DisplayString">
    <xsl:param name="str" />
    <xsl:if test='string-length($str) &gt; 0'>
      -
      <xsl:value-of select="$str" />
    </xsl:if>
  </xsl:template>

  <!-- document collapsing link setup -->
  <xsl:template name="DisplayCollapsingStatusLink">
    <xsl:param name="status"/>
    <xsl:param name="workid"/>
    <xsl:param name="id"/>
    <xsl:if test="$CollapsingStatusLink">
      <xsl:choose>
        <xsl:when test="$status=1">
          <xsl:variable name="CollapsingStatusHref" select="concat(substring-before($CollapsingStatusLink, '$$COLLAPSE_PARAM$$'), 'duplicates:&quot;', $workid, '&quot;', substring-after($CollapsingStatusLink, '$$COLLAPSE_PARAM$$'))"/>
          <span class="srch-urllink">
            <a href="{$CollapsingStatusHref}" id="$id" title="{$CollapseDuplicatesText}">
              <xsl:value-of select="$CollapseDuplicatesText"/>
            </a>
          </span>
        </xsl:when>
      </xsl:choose>
    </xsl:if>
  </xsl:template>
  <!-- The "view more results" for fixed query -->
  <xsl:template name="DisplayMoreResultsAnchor">
    <xsl:if test="$MoreResultsLink">
      <a href="{$MoreResultsLink}" id="{concat($IdPrefix,'_MRL')}">
        <xsl:value-of select="$MoreResultsText"/>
      </a>
    </xsl:if>
  </xsl:template>

  <xsl:template match="All_Results/DiscoveredDefinitions">
    <xsl:variable name="FoundIn" select="DDFoundIn" />
    <xsl:variable name="DDSearchTerm" select="DDSearchTerm" />
    <xsl:if test="$DisplayDiscoveredDefinition = 'True' and string-length($DDSearchTerm) &gt; 0">
      <script language="javascript">
        function ToggleDefinitionSelection()
        {
        var selection = document.getElementById("definitionSelection");
        if (selection.style.display == "none")
        {
        selection.style.display = "inline";
        }
        else
        {
        selection.style.display = "none";
        }
        }
      </script>
      <div class="srch-Description2 srch-definition2">
        <a href="javascript:ToggleDefinitionSelection();" id="{concat($IdPrefix,'1_DEF')}" mss_definition="true">
          <xsl:value-of select="$DefinitionIntro" />
          <strong>
            <xsl:value-of select="$DDSearchTerm"/>
          </strong>
        </a>
        <div id="definitionSelection" class="srch-Description2" style="display:none;">
          <xsl:for-each select="DDefinitions/DDefinition">
            <br/>
            <xsl:variable name="DDUrl" select="DDUrl" />
            <img style="display:inline" alt="" src="/_layouts/images/discovered_definitions_bullet.png" />
            <xsl:value-of select="DDStart"/>
            <strong>
              <xsl:value-of select="DDBold"/>
            </strong>
            <xsl:value-of select="DDEnd"/>
            <br/>
            <span class="srch-definition">
              <xsl:value-of select="$FoundIn"/>
              <xsl:text disable-output-escaping="yes">&#160;</xsl:text>
              <a href="{$DDUrl}">
                <xsl:value-of select="DDTitle"/>
              </a>
            </span>
          </xsl:for-each>
        </div>
      </div>
    </xsl:if>
  </xsl:template>

  <!-- XSL transformation starts here -->
  <xsl:template match="/">
    <xsl:if test="$AlertMeLink">
      <input type="hidden" name="P_Query" />
      <input type="hidden" name="P_LastNotificationTime" />
    </xsl:if>
    <xsl:choose>
      <xsl:when test="$IsNoKeyword = 'True'" >
        <xsl:call-template name="dvt_1.noKeyword" />
      </xsl:when>
      <xsl:when test="$ShowMessage = 'True'">
        <xsl:call-template name="dvt_1.empty" />
      </xsl:when>
      <xsl:otherwise>
        <style>
          html, body
          {
          height:100% !important;


          overflow:hidden !important;
          }
          form
          {
          overflow-y:scroll !important;
          }

          body
          {
          overflow:hidden !important;/* auto; /*TODO*/

          }
          #s4-workspace
          {

          overflow-y: auto !important; width: 800px; height: 556px !important;
          }
          /*===========Social Search=======================Start
          add by:Chuanzhuo
          add time:2012-02-08
          */
          .tip
          {
          border: 3px solid #FFFFFF;
          margin-bottom: 10px;
          }
          .tip-onmouseover
          {
          border: 3px solid #DCDCDC;
          margin-bottom: 10px;
          }
          .srch-BB-Description2
          {
          margin-top: 5px !important;
          margin-left: 8px !important;
          margin-bottom: 2px !important;
          font-family: Arial !important;
          max-width: 640px !important;
          color: #333 !important;
          font-size: 12px !important;
          cursor: pointer; /*word-break:keep-all;*/
          }
          .srch-Picture
          {
          height: 50px;
          width: 50px;
          cursor: pointer;
          }
          .srch-BBTitle A:link
          {
          font-family: verdana, tahoma, sans-serif !important;
          color: #000 !important;
          margin-left: 0px !important;
          font-size: 1em; /* */
          text-decoration: none !important;
          }
          .srch-BBTitle A:visited
          {
          font-family: verdana, tahoma, sans-serif !important;
          color: #000 !important;
          margin-left: 0px !important;
          font-size: 1em;
          text-decoration: none !important;
          }
          .srch-BBTitle A:hover
          {
          font-family: verdana, tahoma, sans-serif !important;
          color: #000 !important;
          margin-left: 0px !important;
          font-size: 1em;
          text-decoration: underline !important;
          }
          .srch-BBTitle
          {
          padding-left: 8px !important;
          font-family: verdana, tahoma, sans-serif !important;
          color: #3f3f3f !important;
          margin-left: 0px !important;
          font-size: 1.3em !important;
          }
          SPAN.srch-BBTitle A:link
          {
          line-height: 18px;
          font-family: "Segoe UI" !important;
          color: #d54228 !important;
          font-size: 16px !important;
          }
          SPAN.srch-BBTitle A:visited
          {
          line-height: 18px;
          font-family: "Segoe UI" !important;
          color: #d54228 !important;
          font-size: 16px !important;
          }
          .srch-BB-URL3
          {
          margin-left: 8px;
          overflow: hidden;
          }
          .srch-BB-URL3 SPAN.srch-BB-URL2
          {
          font-family: Arial;
          max-width: 640px;
          color: #999 !important;
          font-size: 12px;
          }
          .srch-BB-URL3 SPAN.srch-BB-URL2 .timespan
          {
          color: #999 !important;
          font-size: 12px;
          cursor: pointer;
          }
          /*===========Social Search=======================End*/
        </style>


        <xsl:call-template name="dvt_1.body"/>
      </xsl:otherwise>
    </xsl:choose>
  </xsl:template>

  <!-- End of Stylesheet -->
</xsl:stylesheet>